package pikes.ecma;

public class NullLiteral extends PrintableExpression implements IPrimaryExpression, ILiteral {

	public void visit(SyntaxTreeVisitor syntaxTreeVisitor) throws EcmaSyntaxVisitingException {
		syntaxTreeVisitor.identifier("null");
	}

	@Override
	public boolean equals(Object obj) {
		return obj instanceof NullLiteral;
	}

	@Override
	public int hashCode() {
		return NullLiteral.class.hashCode();
	}

}
